package com.lingnan.wanxiangxinxun;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableScheduling // 启用定时任务
@EnableAsync  // 启用异步任务
@MapperScan("com.lingnan.wanxiangxinxun.mapper")
public class WanxiangxinxunApplication {

    public static void main(String[] args) {
        SpringApplication.run(WanxiangxinxunApplication.class, args);
    }

}
